xfi:period-start

xs:dateTime=xfi:period-start( $period as element(xbrli:period))

Last updated on 23-01-2008 at 00:00:00.

Return the period start dateTime for finite durations and the instant dateTime for instants.

Documentation

For the dates, XBRL uses a union of date and dateTime. When a date is specified, it should be expanded to a dateTime as specified in the XBRL specification. Note that this expansion differs for start dates and instant dates.

XBRL 2.1 Section 4.7.2

OIM Status

Unsupported

Parameters

Name Type Details
period element(xbrli:period) The period for which to obtain the period start.

Output

Type: xs:dateTime

Return the period start dateTime for finite durations and the instant dateTime for instants. For a start date without time, the dateTime returned is the midnight at the start of the date reported, as if the time portion were "T00:00:00". For an instant date without time, the dateTime returned is is the midnight at the end of the date reported, conceptually as if the time portion were "T24:00:00".

Errors

Code Details
xfie:PeriodIsForever This error MUST be thrown if the item is reported with a forever period.

Conformance suite

80126 xfi.period-start testcase.xml [ download ]

Owners

Name Affiliation Email Start End
Geoff Shuetrim Galexy geoff@galexy.net 14-02-2008 at 00:00:00

Revisions

Name On Details
Geoff Shuetrim 23-01-2008 at 00:00:00 Defined the function.
26-03-2008 at 21:23:00 Clarified time portion of output when only date is reported, without time.